package cn.iocoder.yudao.module.reading.controller.app.community.vo.draft;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 社区草稿 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 社区草稿 Response VO")
@Data
public class DraftRespVO {

    @Schema(description = "草稿ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "草稿类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "post")
    private String type;

    @Schema(description = "草稿内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "这是一个草稿内容...")
    private String content;

    @Schema(description = "图片URL列表", example = "[\"https://example.com/image1.jpg\"]")
    private List<String> images;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-01-01T08:00:00")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-01-01T08:00:00")
    private LocalDateTime updateTime;

}
